how to load at bottom of page html

110

how to load at bottom of page html -

<script>
    function scrollToBottom() {
        window.scrollTo(0, document.body.scrollHeight);
    }
    history.scrollRestoration = "manual";
    window.onload = scrollToBottom;
</script>

Comments

Submit
0 Comments